package com.say.bean.domain;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.say.bean.common.BaseEntity;

@Entity
@Table(name = "message")
public class Message extends BaseEntity {
	
    private static final long serialVersionUID = 1374006756351004109L;
    
    private String userId;
    
    private String toUserId;
    
    private Integer unRead;
    
    private String text;
    
    private Date updateTime;
    
    private Integer status;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getToUserId() {
		return toUserId;
	}

	public void setToUserId(String toUserId) {
		this.toUserId = toUserId;
	}

	public Integer getUnRead() {
		return unRead;
	}

	public void setUnRead(Integer unRead) {
		this.unRead = unRead;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}


}
